/*
 * @Author: your name
 * @Date: 2021-11-24 11:43:33
 * @LastEditTime: 2021-12-31 16:37:50
 * @LastEditors: your name
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \vue-antd-admin-y\src\services\teaching-culture.js
 */
import { teachingUploadApi, teachingListApi, teachingGoupByApi, teachingUpdateApi, teachingAddApi, teachingSelOneApi } from '@/services/api'
import { request, METHOD } from '@/utils/request'

/**
 * 上传文件
 * @param url  
 * @param name 账户名
 * @param password 账户密码
 * @returns {Promise<AxiosResponse<T>>}
 */
export  function teachingUpload(formData) {
  return request(teachingUploadApi, METHOD.POST, formData)
}

export  function teachingList(formData) {
  return request(teachingListApi, METHOD.POST, formData)
}

export  function teachingGoupBy(formData) {
  return request(teachingGoupByApi, METHOD.POST, formData)
}

export  function teachingUpdate(formData) {
  return request(teachingUpdateApi, METHOD.POST, formData)
}
export  function teachingAdd(formData) {
  return request(teachingAddApi, METHOD.POST, formData)
}
export  function teachingSelOne(formData) {
  return request(teachingSelOneApi, METHOD.POST, formData)
}




export default {
  teachingUpload,
  teachingList,
  teachingGoupBy,
  teachingUpdate,
  teachingAdd,
  teachingSelOne
}
